import React from 'react';
class Unmount extends React.Component {
    render() { 
        return <div>卸载阶段</div>;
    }

    componentWillUnmount(){
        console.log('卸载阶段-componentWillUnmount-组件即将卸载');
    }
}
 
export default Unmount;